<script type="text/html" id="barDemo">
    {if power('column_update','商品分类编辑','column')}
    <a class="layui-btn layui-btn-warm layui-btn-xs" lay-event="update">编辑</a>
    {/if}
    {if power('column_delete','删除商品分类','column')}
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
    {/if}
</script>

<div id="create_op" class="none">
    <div class="op_body">
        <form class="layui-form layui-form-pane" action="" lay-filter="op_form">
            <input type="hidden" name="id">
            <div class="layui-form-item">
                <label class="layui-form-label">用户名</label>
                <div class="layui-input-block">
                    <input type="text" name="username" id="username" lay-verify="required" autocomplete="off" placeholder="请输入用户名" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">密码</label>
                <div class="layui-input-block">
                    <input type="password" name="password" id="password" autocomplete="off" placeholder="留空则不修改" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">昵称</label>
                <div class="layui-input-block">
                    <input type="text" name="name" id="name" lay-verify="required" autocomplete="off" placeholder="请输入昵称" class="layui-input">
                </div>
            </div>


            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="submit" class="layui-btn" lay-submit="" lay-filter="save_sub">确定提交</button>
                </div>
            </div>
        </form>
    </div>
</div>
